sort jobs numerically
git-svn-id: file:///home/svn/framework3/trunk@7451 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
3dfaf32bc8
commit
b64d12c846
|
@ -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 ]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue