Sort Three Numbers in Java