Sorting RGB hex colours using HSL