changed the file_home view to use version_compare() intead of strcmp() for sorting

This commit is contained in:
hyung-hwan 2014-06-03 09:11:07 +00:00
parent ac6a5f4110
commit 8d5b631e7e

View File

@ -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);