> ## Documentation Index
> Fetch the complete documentation index at: https://docs.goodfire.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Sorting by Features

By using [Feature Activations](/sdk-reference/features) we can sort data by the features that are most relevant to a given query.

In this example, we'll sort Elon Musk's tweets by the sarcasm feature.

<a href="https://colab.research.google.com/drive/1pIvdetWgr1EsiIV6SRe4KE4gT97xzogX#scrollTo=91a29oN7F56u" target="_blank">
  <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab" width="200px" style={{ pointerEvents: "none" }} />
</a>
