What you have to do to find the median of the data is first put that data into order numerically. You can go largest to smallest or smallest to largest, it doesn't matter.
22, 24, 28, 28, 30, 31, 31, 32, 32, 35, 36, 37, 38, 41, 42, 42, 44, 44, 45, 46, 46, 47, 47, 49, 50
Once you put them into order, you count towards the middle. You have 25 data points, so the middle, which will be your median number, will be 13 points in.
The median is 38