--- loncom/interface/loncommon.pm 2001/07/26 16:00:24 1.3 +++ loncom/interface/loncommon.pm 2001/07/30 22:24:34 1.4 @@ -23,22 +23,22 @@ sub get_previous_attempt { for ($version=1;$version<=$returnhash{'version'};$version++) { map { $lasthash{$_}=$returnhash{$version.':'.$_}; - } split(/\:/,$returnhash{$version.':keys'}); + } sort(split(/\:/,$returnhash{$version.':keys'})); } $prevattempts='
History | '; map { $prevattempts.=''.$_.' | '; - } keys %lasthash; + } sort(keys %lasthash); for ($version=1;$version<=$returnhash{'version'};$version++) { $prevattempts.='
---|---|
Attempt '.$version.' | '; map { $prevattempts.=''.$returnhash{$version.':'.$_}.' | '; - } keys %lasthash; + } sort(keys %lasthash); } $prevattempts.='
Current | '; map { $prevattempts.=''.$lasthash{$_}.' | '; - } keys %lasthash; + } sort(keys %lasthash); $prevattempts.='