Sort first: 6, 9, 9, 11, 12, 14, 15, 17, 18, 21, 25. With 11 values the median is the 6th value, 14, and it is left out of both halves.
The lower half 6,9,9,11,12 has middle value 9, and the upper half 15,17,18,21,25 has middle value 18.
6, 9, 14, 18, 25