diff --git a/codepot/src/codepot/views/file_home.php b/codepot/src/codepot/views/file_home.php index 51c75fb2..9270e4a1 100644 --- a/codepot/src/codepot/views/file_home.php +++ b/codepot/src/codepot/views/file_home.php @@ -55,7 +55,8 @@ else { function comp_files ($a, $b) { - $cmp = strcmp ($b->tag, $a->tag); + //$cmp = strcmp ($b->tag, $a->tag); + $cmp = version_compare ($b->tag, $a->tag); if ($cmp == 0) { return strcmp ($a->name, $b->name);