Fix sinfo/squeue sorting anomalies

Fix some sinfo and squeue sorting anomalies due to differences in data
types.
See bug 706