Fixed e value sorting. Sorts e values based on what their values are instead of their place in an alphabetic list.