Using bubblesort here because it's simpler and there won't be more than 10
entries