Fix displayOrder sorting and remove nokogiri requirement

Sort order was incorrect if there were more than 9 keys since string comparison was used instead of integer comparison.

'10' < '2'