Fixed revision order bug

 * The revisions should now always appear in order

Signed-off-by: Nathan Callister <ncallister@iwsoftware.com.au>