sort jobs numerically

git-svn-id: file:///home/svn/framework3/trunk@7451 4d416f70-5f16-0410-b530-b9f4589650da
unstable
James Lee 2009-11-10 17:16:49 +00:00
parent 3dfaf32bc8
commit b64d12c846
1 changed files with 1 additions and 1 deletions

View File

@ -422,7 +422,7 @@ class ReadableText
'Name'
])
framework.jobs.keys.sort.each { |k|
framework.jobs.keys.sort{|a,b| a.to_i <=> b.to_i }.each { |k|
tbl << [ k, framework.jobs[k].name ]
}